#ifndef __SD_COORDINATE_2D_H__
#define __SD_COORDINATE_2D_H__

namespace SeaDrip
{
    class Coordinate2D
    {
    public:
        Coordinate2D(const unsigned int _x, const unsigned int _y);

        const bool operator == (const Coordinate2D& other) const;
        const bool operator< (const Coordinate2D& other) const;

        const unsigned int GetOffset(const unsigned width);
        const unsigned int GetSquareDistanceFromOrigin() const;

        const unsigned int x;
        const unsigned int y;
    };

}

#endif